package com.sikaryofficial.backend.domain.mapping;

import com.sikaryofficial.backend.domain.dto.req.information.ArticleBackendSaveReq;
import com.sikaryofficial.backend.domain.dto.req.information.ArticleReq;
import com.sikaryofficial.backend.domain.dto.resp.information.ArticleTagDTO;
import com.sikaryofficial.backend.domain.entity.Article;
import com.sikaryofficial.backend.domain.entity.ArticleTag;
import com.sikaryofficial.system.api.model.infomation.ArticleDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author : qinjinyuan
 * @desc : 文章映射接口
 * @date : 2023/11/03 9:19
 */
@Mapper
public interface ArticleTagMapping {
    ArticleTagMapping INSTANCE = Mappers.getMapper(ArticleTagMapping.class);

    /**
     * 实体映射
     *
     * @param activity
     * @return
     */
    ArticleTagDTO coverToDTO(ArticleTag activity);

}
